The goal is to rearrange the cars so that curb0 has car0, curb1 has car1, curb2 has car2, and curb3 has car3.